#include <iostream>
using namespace std;

template<typename T1, typename T2>
int add(T1 val1, T2 val2)
{
    cout << "tmplate" << endl;
    return val1 + val2;
} 
template<>
int add(int val1, int val2)
{
    cout << "int,int" << endl;
    return val1 + val2;
}

int main()
{

    cout << add<double,double>(10, 2) << endl;
    return 0;
}